package com.lyj.springcloud.entities;

import com.alibaba.fastjson.JSONObject;

public class Test {
    public static void main(String[] args) {
//        Person p = new Man("张三","10");
//        p.work();
        Payment payment = new Payment();
        FatherInterface bean = new TT();
        bean.initParams(payment);
        System.out.println(JSONObject.toJSONString(payment));
    }
}
